From: IOhannes m zmölnig Date: Thu, 28 Jan 2016 20:28:48 +0000 (+0100) Subject: Introjucer needs to be reproducible as well... X-Git-Tag: archive/raspbian/5.4.5_ds0-1+rpi1~1^2~345 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=3a616fa8f29136802552973d0142b43700a19eca;p=juce.git Introjucer needs to be reproducible as well... --- diff --git a/debian/patches/reproducible-date.patch b/debian/patches/reproducible-date.patch index 6d9918ed..175f8576 100644 --- a/debian/patches/reproducible-date.patch +++ b/debian/patches/reproducible-date.patch @@ -22,3 +22,23 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ dateTokens.removeEmptyStrings (true); return Time (dateTokens[2].getIntValue(), +--- juce.orig/extras/Introjucer/Source/Application/jucer_Application.h ++++ juce/extras/Introjucer/Source/Application/jucer_Application.h +@@ -101,13 +101,16 @@ + return initialiseLogger ("log_"); + } + ++#ifndef BUILD_DATE ++# define BUILD_DATE __DATE__ ++#endif + bool initialiseLogger (const char* filePrefix) + { + if (logger == nullptr) + { + logger = FileLogger::createDateStampedLogger (getLogFolderName(), filePrefix, ".txt", + getApplicationName() + " " + getApplicationVersion() +- + " --- Build date: " __DATE__); ++ + " --- Build date: " BUILD_DATE); + Logger::setCurrentLogger (logger); + } +